﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Public;
using DAL;
using System.Data;
using BUL;


namespace BUL
{
    public class UnitBUL
    {
        UnitDAL cls = new UnitDAL();
        public DataSet GetAllUnitCBX()
        {
            return cls.GetAllUnitCBX();
        }
        public DataTable searchProUnit(string searchValue)
        {
            return cls.searchProUnit(searchValue);
        }
        public int AddProductUnit(Unit unit)
        {
            return cls.AddProductUnit(unit);
        }
        public int UpdateProductUnit(Unit unit)
        {
            return cls.UpdateProductUnit(unit);
        }
    }
}
